package io.renren.modules.basic.service.impl;

import io.renren.modules.basic.dao.MtCcTaskRunInfoDetDao;
import io.renren.modules.basic.entity.MtCcTaskRunInfoDetEntity;
import io.renren.modules.basic.service.MtCcTaskRunInfoDetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;




@Service("mtCcTaskRunInfoDetService")
public class MtCcTaskRunInfoDetServiceImpl extends ServiceImpl<MtCcTaskRunInfoDetDao, MtCcTaskRunInfoDetEntity> implements MtCcTaskRunInfoDetService {

    @Autowired
    private MtCcTaskRunInfoDetDao mtCcTaskRunInfoDetDao;
    @Override
    public List<MtCcTaskRunInfoDetEntity> queryPage(Map<String, Object> params) {
        /*IPage<MtCcTaskRunInfoDetEntity> page = this.page(
                new Query<MtCcTaskRunInfoDetEntity>().getPage(params),
                new QueryWrapper<MtCcTaskRunInfoDetEntity>()
        );*/
        List<MtCcTaskRunInfoDetEntity> mtCcTaskRunInfoDetEntities = mtCcTaskRunInfoDetDao.selectList(new QueryWrapper<MtCcTaskRunInfoDetEntity>().eq("task_run_id", params.get("id")));

        return mtCcTaskRunInfoDetEntities;
    }

}